﻿using System;

namespace AspDotnetPractice.CompositeControl
{
    public class CheckEventArgs : EventArgs
    {
        private readonly bool match = false;

        public CheckEventArgs(int difference)
        {
            if (difference == 0)
            {
                match = true;
            }
        }
        public bool Match
        {
            get
            {
                return match;
            }
        }
    }

    public delegate void CheckEventHandler(object sender, CheckEventArgs ce);
}